package com.startup.yellocar.service;
import java.util.*;
import org.springframework.transaction.annotation.Transactional;
import com.startup.yellocar.dto.TransactionDTO;
public interface TransactionService {

	@Transactional
	public void insert(TransactionDTO transactionDTO);

	@Transactional
	public void update(TransactionDTO transactionDTO);

	@Transactional
	public TransactionDTO get(int id); 

	@Transactional
	public List<TransactionDTO> getAll(); 

	@Transactional
	public void delete(TransactionDTO transactionDTO);

}
